package com.dream.base.network;

/**
 * Description: Http请求监听
 * @author: WangKunHui
 * date: 3/9/17 16:12
 * <p>
 * Copyright©2017 by wang. All rights reserved.
 */
public interface HttpListener<T> {

    void onResponse(T response);

    void onFailure(HttpError e);

    void onAsyncResponse(T response);
}
